<script setup>

import { useRouter } from 'vue-router'
const router = useRouter()
const goBack = () => {
  router.push('/')
}
</script>
<template>
  <div style="width: 100vw; height: 100vh; display: flex; justify-content: center; align-items: center;">
    <div>
      <h1>404</h1>
      <p>页面丢失</p>
      <el-button @click="goBack">回到首页</el-button>
    </div>
  </div>
</template>